﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.Customer.DAL
{
	public interface IContactDAL
	{
		Contact ReadContact(String contactId);

		Contact ReadContactByUserAccountId(String userAccountId);
		void CreateContact(Contact contact, IDbTransaction transaction);
		void UpdateContact(Contact contact, IDbTransaction transaction);

		void AssignContactToUserAccount(string userAccountId, string contactId);

		IList<Contact> GetContacts(string companyId);
	}
}
